#include("/template/common/layout/_page_layout.html")
#@layout()

#define css()
<style>

</style>
#end

#define js()
<script type="text/javascript">
    layui.use(['form', 'layer'], function () {
        // 操作对象
        var form = layui.form
            , $ = layui.jquery;
    });


    // $('#back').click(function () {
    //     window.location.href = "#(ctxPath)/view"
    // });
</script>
#end

#define content()
<div class="x-body">
    <form id="addForm" class="layui-form" action="">
        <input type="hidden" name="notification.id" value="#(notification.id)">
        <div class="layui-form-item">
            <label class="layui-form-label">标题</label>
            <div class="layui-input-block">
                <input type="text" name="title" autocomplete="off" placeholder="标题" readonly="readonly"
                       value="#(notification.name)" class="layui-input" style="width: 500PX">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">接收人</label>
            <div class="layui-input-block">
                <input type="text" name="receiverUser.name" readonly="readonly" placeholder="接收人" class="layui-input"
                       value="#(receiverUser.name)"
                       required lay-verify="required"  style="width: 500PX" autocomplete="off"/>
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">内容</label>
            <div class="layui-input-block">
                <textarea placeholder="内容" class="layui-textarea" value=""
                          readonly="readonly"  style="width: 500PX">#(notification.content)</textarea>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">发送时间</label>
            <div class="layui-input-block">
                <input type="text" name="notification.createTime" placeholder="发送时间" readonly="readonly"
                       class="layui-input" value="#(notification.createTime)"  style="width: 500PX"
                       autocomplete="off"/>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">发送人</label>
            <div class="layui-input-block">
                <input type="text" name="createUser.name" readonly="readonly" placeholder="发送人" class="layui-input"
                       value="#(createUser.name)"
                       required lay-verify="required"  style="width: 500PX" autocomplete="off"/>
            </div>
        </div>
        <!--<div class="layui-form-item">
            <div class="layui-input-block" style="margin: 0 180px">
                <button type="button" class="layui-btn" id="back">返回</button>
            </div>
        </div>-->
    </form>
</div>
#end